package a630wj.recycleview630wj.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
//import android.util.Log;
import android.widget.Toast;

import a630wj.recycleview630wj.R;

public class ArticleDetailActivity extends AppCompatActivity {
    int resid;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_article_detail);
        Intent intent=getIntent();
        resid=intent.getIntExtra("resid",1);
        String str=String.valueOf(resid);
        //Log.i("mymessage",str);//跳转
        Toast.makeText(this,str,Toast.LENGTH_SHORT).show();//跳转

    }
}
